Skip to content

Conversation

@julienloizelet
Copy link
Collaborator

@julienloizelet julienloizelet commented Oct 27, 2025

Description

  • Add a new js worker decisions-sync-worker that synchronizes decisions using a scheduled task and updates KV accordingly
  • Add a new -S option to configure the Cloudflare infrastructure and deploy this new worker. This is what we call "autonomous mode": the background go process is not needed anymore, and the deployed bouncers are sufficient to perform the bouncer role: one worker to synchronize decisions (decisions-sync-worker) and one worker to apply decisions (crowdsec-cloudflare-worker-bouncer)

How to test

  • To test the autonomous mode, run the process with -S option

./crowdsec-cloudflare-worker-bouncer -S -c <PATH_TO_CONFIG.yaml>

  • Backward compatibility: the "non automous mode" should work as before (go process run in daemon and the decisions-sync-worker worker is not deployed):

./crowdsec-cloudflare-worker-bouncer -c <PATH_TO_CONFIG.yaml>

Others

For the related documentation, please refer to the related PR

@julienloizelet julienloizelet marked this pull request as ready for review October 27, 2025 05:12
@julienloizelet julienloizelet changed the title feat(*): Automous mode feat(*): Autonomous mode Oct 27, 2025
@julienloizelet julienloizelet requested a review from blotus October 27, 2025 05:16
@julienloizelet julienloizelet marked this pull request as draft November 5, 2025 04:14
@julienloizelet julienloizelet marked this pull request as ready for review November 7, 2025 05:45
@rr404
Copy link
Contributor

rr404 commented Nov 7, 2025

Tests from 2025-11-07 were conclusive for the fix on pulling large number of IPs with batch technique.
will still need to mention limitations of BLaaS updates in readme and/or doc @rr404 if they are still present by time of release.

Copy link
Contributor

@rr404 rr404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry forgot to push review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants